package com.spring.service.person;

import java.util.List;

import com.spring.web.formbean.person.PersonBasicForm;
import com.spring.bean.person.PersonBasic;
import com.spring.bean.page.Page;
import com.spring.bean.page.PageView;
import com.spring.exception.ServiceException;

public interface PersonBasicService {

	public boolean insert(PersonBasicForm personBasicForm) throws ServiceException;

	public boolean update(PersonBasicForm personBasicForm) throws ServiceException;

	public boolean delete(Integer id) throws ServiceException;

	public PersonBasic getById(Integer id) throws ServiceException;

	public List<PersonBasic> queryForList() throws ServiceException;

	public PageView<PersonBasic> queryForPage(Page page) throws ServiceException;
}